package com.ruihu.admin.common.anno;

import java.lang.annotation.*;

/**
 * [ 用户操作日志 ]
 *
 * @author yandanyang
 * @version 1.0
 * @company Ruihu (Nanjing) Information Technology Co., Ltd
 * @copyright (c) 2019 Ruihu (Nanjing) Information Technology Co., LtdInc. All rights reserved.
 * @date
 * @since JDK1.8
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
public @interface OperateLog {

    /**
     * 日志描述
     * @return
     */
    String description() default "";

    /**
     * 保存请求数据
     * @return
     */
    boolean saveRequestData() default true;
}
